#ifndef _Buffer
#define _Buffer


namespace tlnet {

class Buffer {
public:
	bool isReady;
	char *data;
	int count;

	Buffer *prev, *next;

	// Constructor
	Buffer();

	// Deconstructor
	~Buffer();

	// store bytes
	bool storeBytes(char* /*data*/, int /*count*/);

	// append passed in buffer data
	bool appendBytes(Buffer* /*buffer*/);
};

}

#endif // _Buffer